import request from '@/utils/request'

// 获取平台商品类目集合
export function listProjectCategory(enterpriseCategoryId) {
  return request({
    url: '/project/projectCategory/listProjectCategory',
    method: 'get',
    params: {
      enterpriseCategoryId
    }
  })
}

// 获取平台商品类目树形
export function getProjectCategoryTree() {
  return request({
    url: '/project/projectCategory/getProjectCategoryTree',
    method: 'get'
  })
}
